home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Python 1.1 / Doc / libal.tex < prev    next >
LaTeX Document  |  1994-08-08  |  6.0 KB  |  [TEXT/R*ch]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: libal.tex

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text, with CR line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[CR] default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[R*ch]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 42 75 69 6c 74 2d 69 |\section|{Built-i|
|00000010| 6e 20 4d 6f 64 75 6c 65 | 20 5c 73 65 63 74 63 6f |n Module| \sectco|
|00000020| 64 65 7b 61 6c 7d 7d 0d | 5c 62 69 6d 6f 64 69 6e |de{al}}.|\bimodin|
|00000030| 64 65 78 7b 61 6c 7d 0d | 0d 54 68 69 73 20 6d 6f |dex{al}.|.This mo|
|00000040| 64 75 6c 65 20 70 72 6f | 76 69 64 65 73 20 61 63 |dule pro|vides ac|
|00000050| 63 65 73 73 20 74 6f 20 | 74 68 65 20 61 75 64 69 |cess to |the audi|
|00000060| 6f 20 66 61 63 69 6c 69 | 74 69 65 73 20 6f 66 20 |o facili|ties of |
|00000070| 74 68 65 20 49 6e 64 69 | 67 6f 20 61 6e 64 0d 34 |the Indi|go and.4|
|00000080| 44 2f 33 35 20 77 6f 72 | 6b 73 74 61 74 69 6f 6e |D/35 wor|kstation|
|00000090| 73 2c 20 64 65 73 63 72 | 69 62 65 64 20 69 6e 20 |s, descr|ibed in |
|000000a0| 73 65 63 74 69 6f 6e 20 | 33 41 20 6f 66 20 74 68 |section |3A of th|
|000000b0| 65 20 49 52 49 58 20 34 | 2e 30 20 6d 61 6e 20 70 |e IRIX 4|.0 man p|
|000000c0| 61 67 65 73 0d 28 61 6e | 64 20 61 6c 73 6f 20 61 |ages.(an|d also a|
|000000d0| 76 61 69 6c 61 62 6c 65 | 20 61 73 20 61 6e 20 6f |vailable| as an o|
|000000e0| 70 74 69 6f 6e 20 69 6e | 20 49 52 49 58 20 33 2e |ption in| IRIX 3.|
|000000f0| 33 29 2e 20 20 59 6f 75 | 27 6c 6c 20 6e 65 65 64 |3). You|'ll need|
|00000100| 20 74 6f 20 72 65 61 64 | 0d 74 68 6f 73 65 20 6d | to read|.those m|
|00000110| 61 6e 20 70 61 67 65 73 | 20 74 6f 20 75 6e 64 65 |an pages| to unde|
|00000120| 72 73 74 61 6e 64 20 77 | 68 61 74 20 74 68 65 73 |rstand w|hat thes|
|00000130| 65 20 66 75 6e 63 74 69 | 6f 6e 73 20 64 6f 21 0d |e functi|ons do!.|
|00000140| 53 6f 6d 65 20 6f 66 20 | 74 68 65 20 66 75 6e 63 |Some of |the func|
|00000150| 74 69 6f 6e 73 20 61 72 | 65 20 6e 6f 74 20 61 76 |tions ar|e not av|
|00000160| 61 69 6c 61 62 6c 65 20 | 69 6e 20 72 65 6c 65 61 |ailable |in relea|
|00000170| 73 65 73 20 62 65 6c 6f | 77 20 34 2e 30 2e 35 2e |ses belo|w 4.0.5.|
|00000180| 0d 41 67 61 69 6e 2c 20 | 73 65 65 20 74 68 65 20 |.Again, |see the |
|00000190| 6d 61 6e 75 61 6c 20 74 | 6f 20 63 68 65 63 6b 20 |manual t|o check |
|000001a0| 77 68 65 74 68 65 72 20 | 61 20 73 70 65 63 69 66 |whether |a specif|
|000001b0| 69 63 20 66 75 6e 63 74 | 69 6f 6e 20 69 73 0d 61 |ic funct|ion is.a|
|000001c0| 76 61 69 6c 61 62 6c 65 | 20 6f 6e 20 79 6f 75 72 |vailable| on your|
|000001d0| 20 70 6c 61 74 66 6f 72 | 6d 2e 0d 0d 53 79 6d 62 | platfor|m...Symb|
|000001e0| 6f 6c 69 63 20 63 6f 6e | 73 74 61 6e 74 73 20 66 |olic con|stants f|
|000001f0| 72 6f 6d 20 74 68 65 20 | 43 20 68 65 61 64 65 72 |rom the |C header|
|00000200| 20 66 69 6c 65 20 5c 66 | 69 6c 65 7b 3c 61 75 64 | file \f|ile{<aud|
|00000210| 69 6f 2e 68 3e 7d 20 61 | 72 65 20 64 65 66 69 6e |io.h>} a|re defin|
|00000220| 65 64 0d 69 6e 20 74 68 | 65 20 73 74 61 6e 64 61 |ed.in th|e standa|
|00000230| 72 64 20 6d 6f 64 75 6c | 65 20 5c 63 6f 64 65 7b |rd modul|e \code{|
|00000240| 41 4c 7d 2c 20 73 65 65 | 20 62 65 6c 6f 77 2e 0d |AL}, see| below..|
|00000250| 0d 5c 73 74 72 6f 6e 67 | 7b 57 61 72 6e 69 6e 67 |.\strong|{Warning|
|00000260| 3a 7d 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 76 |:} the c|urrent v|
|00000270| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 65 20 61 75 |ersion o|f the au|
|00000280| 64 69 6f 20 6c 69 62 72 | 61 72 79 20 6d 61 79 20 |dio libr|ary may |
|00000290| 64 75 6d 70 20 63 6f 72 | 65 0d 77 68 65 6e 20 62 |dump cor|e.when b|
|000002a0| 61 64 20 61 72 67 75 6d | 65 6e 74 20 76 61 6c 75 |ad argum|ent valu|
|000002b0| 65 73 20 61 72 65 20 70 | 61 73 73 65 64 20 72 61 |es are p|assed ra|
|000002c0| 74 68 65 72 20 74 68 61 | 6e 20 72 65 74 75 72 6e |ther tha|n return|
|000002d0| 69 6e 67 20 61 6e 20 65 | 72 72 6f 72 0d 73 74 61 |ing an e|rror.sta|
|000002e0| 74 75 73 2e 20 20 55 6e | 66 6f 72 74 75 6e 61 74 |tus. Un|fortunat|
|000002f0| 65 6c 79 2c 20 73 69 6e | 63 65 20 74 68 65 20 70 |ely, sin|ce the p|
|00000300| 72 65 63 69 73 65 20 63 | 69 72 63 75 6d 73 74 61 |recise c|ircumsta|
|00000310| 6e 63 65 73 20 75 6e 64 | 65 72 20 77 68 69 63 68 |nces und|er which|
|00000320| 0d 74 68 69 73 20 6d 61 | 79 20 68 61 70 70 65 6e |.this ma|y happen|
|00000330| 20 61 72 65 20 75 6e 64 | 6f 63 75 6d 65 6e 74 65 | are und|ocumente|
|00000340| 64 20 61 6e 64 20 68 61 | 72 64 20 74 6f 20 63 68 |d and ha|rd to ch|
|00000350| 65 63 6b 2c 20 74 68 65 | 20 50 79 74 68 6f 6e 0d |eck, the| Python.|
|00000360| 69 6e 74 65 72 66 61 63 | 65 20 63 61 6e 20 70 72 |interfac|e can pr|
|00000370| 6f 76 69 64 65 20 6e 6f | 20 70 72 6f 74 65 63 74 |ovide no| protect|
|00000380| 69 6f 6e 20 61 67 61 69 | 6e 73 74 20 74 68 69 73 |ion agai|nst this|
|00000390| 20 6b 69 6e 64 20 6f 66 | 20 70 72 6f 62 6c 65 6d | kind of| problem|
|000003a0| 73 2e 0d 28 4f 6e 65 20 | 65 78 61 6d 70 6c 65 20 |s..(One |example |
|000003b0| 69 73 20 73 70 65 63 69 | 66 79 69 6e 67 20 61 6e |is speci|fying an|
|000003c0| 20 65 78 63 65 73 73 69 | 76 65 20 71 75 65 75 65 | excessi|ve queue|
|000003d0| 20 73 69 7a 65 20 2d 2d | 2d 20 74 68 65 72 65 20 | size --|- there |
|000003e0| 69 73 20 6e 6f 0d 64 6f | 63 75 6d 65 6e 74 65 64 |is no.do|cumented|
|000003f0| 20 75 70 70 65 72 20 6c | 69 6d 69 74 2e 29 0d 0d | upper l|imit.)..|
|00000400| 4d 6f 64 75 6c 65 20 5c | 63 6f 64 65 7b 61 6c 7d |Module \|code{al}|
|00000410| 20 64 65 66 69 6e 65 73 | 20 74 68 65 20 66 6f 6c | defines| the fol|
|00000420| 6c 6f 77 69 6e 67 20 66 | 75 6e 63 74 69 6f 6e 73 |lowing f|unctions|
|00000430| 3a 0d 0d 5c 72 65 6e 65 | 77 63 6f 6d 6d 61 6e 64 |:..\rene|wcommand|
|00000440| 7b 5c 69 6e 64 65 78 73 | 75 62 69 74 65 6d 7d 7b |{\indexs|ubitem}{|
|00000450| 28 69 6e 20 6d 6f 64 75 | 6c 65 20 61 6c 29 7d 0d |(in modu|le al)}.|
|00000460| 5c 62 65 67 69 6e 7b 66 | 75 6e 63 64 65 73 63 7d |\begin{f|uncdesc}|
|00000470| 7b 6f 70 65 6e 70 6f 72 | 74 7d 7b 6e 61 6d 65 5c |{openpor|t}{name\|
|00000480| 2c 20 64 69 72 65 63 74 | 69 6f 6e 5c 6f 70 74 69 |, direct|ion\opti|
|00000490| 6f 6e 61 6c 7b 5c 2c 20 | 63 6f 6e 66 69 67 7d 7d |onal{\, |config}}|
|000004a0| 0d 45 71 75 69 76 61 6c | 65 6e 74 20 74 6f 20 74 |.Equival|ent to t|
|000004b0| 68 65 20 43 20 66 75 6e | 63 74 69 6f 6e 20 41 4c |he C fun|ction AL|
|000004c0| 6f 70 65 6e 70 6f 72 74 | 28 29 2e 20 20 54 68 65 |openport|(). The|
|000004d0| 20 6e 61 6d 65 20 61 6e | 64 20 64 69 72 65 63 74 | name an|d direct|
|000004e0| 69 6f 6e 0d 61 72 67 75 | 6d 65 6e 74 73 20 61 72 |ion.argu|ments ar|
|000004f0| 65 20 73 74 72 69 6e 67 | 73 2e 20 20 54 68 65 20 |e string|s. The |
|00000500| 6f 70 74 69 6f 6e 61 6c | 20 63 6f 6e 66 69 67 20 |optional| config |
|00000510| 61 72 67 75 6d 65 6e 74 | 20 69 73 20 61 6e 20 6f |argument| is an o|
|00000520| 70 61 71 75 65 0d 63 6f | 6e 66 69 67 75 72 61 74 |paque.co|nfigurat|
|00000530| 69 6f 6e 20 6f 62 6a 65 | 63 74 20 61 73 20 72 65 |ion obje|ct as re|
|00000540| 74 75 72 6e 65 64 20 62 | 79 20 5c 63 6f 64 65 7b |turned b|y \code{|
|00000550| 61 6c 2e 6e 65 77 63 6f | 6e 66 69 67 28 29 7d 2e |al.newco|nfig()}.|
|00000560| 20 20 54 68 65 20 72 65 | 74 75 72 6e 0d 76 61 6c | The re|turn.val|
|00000570| 75 65 20 69 73 20 61 6e | 20 6f 70 61 71 75 65 20 |ue is an| opaque |
|00000580| 70 6f 72 74 20 6f 62 6a | 65 63 74 3b 20 6d 65 74 |port obj|ect; met|
|00000590| 68 6f 64 73 20 6f 66 20 | 70 6f 72 74 20 6f 62 6a |hods of |port obj|
|000005a0| 65 63 74 73 20 61 72 65 | 20 64 65 73 63 72 69 62 |ects are| describ|
|000005b0| 65 64 0d 62 65 6c 6f 77 | 2e 0d 5c 65 6e 64 7b 66 |ed.below|..\end{f|
|000005c0| 75 6e 63 64 65 73 63 7d | 0d 0d 5c 62 65 67 69 6e |uncdesc}|..\begin|
|000005d0| 7b 66 75 6e 63 64 65 73 | 63 7d 7b 6e 65 77 63 6f |{funcdes|c}{newco|
|000005e0| 6e 66 69 67 7d 7b 7d 0d | 45 71 75 69 76 61 6c 65 |nfig}{}.|Equivale|
|000005f0| 6e 74 20 74 6f 20 74 68 | 65 20 43 20 66 75 6e 63 |nt to th|e C func|
|00000600| 74 69 6f 6e 20 41 4c 6e | 65 77 63 6f 6e 66 69 67 |tion ALn|ewconfig|
|00000610| 28 29 2e 20 20 54 68 65 | 20 72 65 74 75 72 6e 20 |(). The| return |
|00000620| 76 61 6c 75 65 20 69 73 | 20 61 20 6e 65 77 0d 6f |value is| a new.o|
|00000630| 70 61 71 75 65 20 63 6f | 6e 66 69 67 75 72 61 74 |paque co|nfigurat|
|00000640| 69 6f 6e 20 6f 62 6a 65 | 63 74 3b 20 6d 65 74 68 |ion obje|ct; meth|
|00000650| 6f 64 73 20 6f 66 20 63 | 6f 6e 66 69 67 75 72 61 |ods of c|onfigura|
|00000660| 74 69 6f 6e 20 6f 62 6a | 65 63 74 73 20 61 72 65 |tion obj|ects are|
|00000670| 0d 64 65 73 63 72 69 62 | 65 64 20 62 65 6c 6f 77 |.describ|ed below|
|00000680| 2e 0d 5c 65 6e 64 7b 66 | 75 6e 63 64 65 73 63 7d |..\end{f|uncdesc}|
|00000690| 0d 0d 5c 62 65 67 69 6e | 7b 66 75 6e 63 64 65 73 |..\begin|{funcdes|
|000006a0| 63 7d 7b 71 75 65 72 79 | 70 61 72 61 6d 73 7d 7b |c}{query|params}{|
|000006b0| 64 65 76 69 63 65 7d 0d | 45 71 75 69 76 61 6c 65 |device}.|Equivale|
|000006c0| 6e 74 20 74 6f 20 74 68 | 65 20 43 20 66 75 6e 63 |nt to th|e C func|
|000006d0| 74 69 6f 6e 20 41 4c 71 | 75 65 72 79 70 61 72 61 |tion ALq|uerypara|
|000006e0| 6d 73 28 29 2e 20 20 54 | 68 65 20 64 65 76 69 63 |ms(). T|he devic|
|000006f0| 65 20 61 72 67 75 6d 65 | 6e 74 20 69 73 0d 61 6e |e argume|nt is.an|
|00000700| 20 69 6e 74 65 67 65 72 | 2e 20 20 54 68 65 20 72 | integer|. The r|
|00000710| 65 74 75 72 6e 20 76 61 | 6c 75 65 20 69 73 20 61 |eturn va|lue is a|
|00000720| 20 6c 69 73 74 20 6f 66 | 20 69 6e 74 65 67 65 72 | list of| integer|
|00000730| 73 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 74 68 65 |s contai|ning the|
|00000740| 0d 64 61 74 61 20 72 65 | 74 75 72 6e 65 64 20 62 |.data re|turned b|
|00000750| 79 20 41 4c 71 75 65 72 | 79 70 61 72 61 6d 73 28 |y ALquer|yparams(|
|00000760| 29 2e 0d 5c 65 6e 64 7b | 66 75 6e 63 64 65 73 63 |)..\end{|funcdesc|
|00000770| 7d 0d 0d 5c 62 65 67 69 | 6e 7b 66 75 6e 63 64 65 |}..\begi|n{funcde|
|00000780| 73 63 7d 7b 67 65 74 70 | 61 72 61 6d 73 7d 7b 64 |sc}{getp|arams}{d|
|00000790| 65 76 69 63 65 5c 2c 20 | 6c 69 73 74 7d 0d 45 71 |evice\, |list}.Eq|
|000007a0| 75 69 76 61 6c 65 6e 74 | 20 74 6f 20 74 68 65 20 |uivalent| to the |
|000007b0| 43 20 66 75 6e 63 74 69 | 6f 6e 20 41 4c 67 65 74 |C functi|on ALget|
|000007c0| 70 61 72 61 6d 73 28 29 | 2e 20 20 54 68 65 20 64 |params()|. The d|
|000007d0| 65 76 69 63 65 20 61 72 | 67 75 6d 65 6e 74 20 69 |evice ar|gument i|
|000007e0| 73 20 61 6e 0d 69 6e 74 | 65 67 65 72 2e 20 20 54 |s an.int|eger. T|
|000007f0| 68 65 20 6c 69 73 74 20 | 61 72 67 75 6d 65 6e 74 |he list |argument|
|00000800| 20 69 73 20 61 20 6c 69 | 73 74 20 73 75 63 68 20 | is a li|st such |
|00000810| 61 73 20 72 65 74 75 72 | 6e 65 64 20 62 79 0d 5c |as retur|ned by.\|
|00000820| 63 6f 64 65 7b 71 75 65 | 72 79 70 61 72 61 6d 73 |code{que|ryparams|
|00000830| 7d 3b 20 69 74 20 69 73 | 20 6d 6f 64 69 66 69 65 |}; it is| modifie|
|00000840| 64 20 69 6e 20 70 6c 61 | 63 65 20 28 21 29 2e 0d |d in pla|ce (!)..|
|00000850| 5c 65 6e 64 7b 66 75 6e | 63 64 65 73 63 7d 0d 0d |\end{fun|cdesc}..|
|00000860| 5c 62 65 67 69 6e 7b 66 | 75 6e 63 64 65 73 63 7d |\begin{f|uncdesc}|
|00000870| 7b 73 65 74 70 61 72 61 | 6d 73 7d 7b 64 65 76 69 |{setpara|ms}{devi|
|00000880| 63 65 5c 2c 20 6c 69 73 | 74 7d 0d 45 71 75 69 76 |ce\, lis|t}.Equiv|
|00000890| 61 6c 65 6e 74 20 74 6f | 20 74 68 65 20 43 20 66 |alent to| the C f|
|000008a0| 75 6e 63 74 69 6f 6e 20 | 41 4c 73 65 74 70 61 72 |unction |ALsetpar|
|000008b0| 61 6d 73 28 29 2e 20 20 | 54 68 65 20 64 65 76 69 |ams(). |The devi|
|000008c0| 63 65 20 61 72 67 75 6d | 65 6e 74 20 69 73 20 61 |ce argum|ent is a|
|000008d0| 6e 0d 69 6e 74 65 67 65 | 72 2e 54 68 65 20 6c 69 |n.intege|r.The li|
|000008e0| 73 74 20 61 72 67 75 6d | 65 6e 74 20 69 73 20 61 |st argum|ent is a|
|000008f0| 20 6c 69 73 74 20 73 75 | 63 68 20 61 73 20 72 65 | list su|ch as re|
|00000900| 74 75 72 6e 65 64 20 62 | 79 0d 5c 63 6f 64 65 7b |turned b|y.\code{|
|00000910| 61 6c 2e 71 75 65 72 79 | 70 61 72 61 6d 73 7d 2e |al.query|params}.|
|00000920| 0d 5c 65 6e 64 7b 66 75 | 6e 63 64 65 73 63 7d 0d |.\end{fu|ncdesc}.|
|00000930| 0d 43 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 20 6f |.Configu|ration o|
|00000940| 62 6a 65 63 74 73 20 28 | 72 65 74 75 72 6e 65 64 |bjects (|returned|
|00000950| 20 62 79 20 5c 63 6f 64 | 65 7b 61 6c 2e 6e 65 77 | by \cod|e{al.new|
|00000960| 63 6f 6e 66 69 67 28 29 | 7d 20 68 61 76 65 20 74 |config()|} have t|
|00000970| 68 65 0d 66 6f 6c 6c 6f | 77 69 6e 67 20 6d 65 74 |he.follo|wing met|
|00000980| 68 6f 64 73 3a 0d 0d 5c | 72 65 6e 65 77 63 6f 6d |hods:..\|renewcom|
|00000990| 6d 61 6e 64 7b 5c 69 6e | 64 65 78 73 75 62 69 74 |mand{\in|dexsubit|
|000009a0| 65 6d 7d 7b 28 61 75 64 | 69 6f 20 63 6f 6e 66 69 |em}{(aud|io confi|
|000009b0| 67 75 72 61 74 69 6f 6e | 20 6f 62 6a 65 63 74 20 |guration| object |
|000009c0| 6d 65 74 68 6f 64 29 7d | 0d 5c 62 65 67 69 6e 7b |method)}|.\begin{|
|000009d0| 66 75 6e 63 64 65 73 63 | 7d 7b 67 65 74 71 75 65 |funcdesc|}{getque|
|000009e0| 75 65 73 69 7a 65 7d 7b | 7d 0d 52 65 74 75 72 6e |uesize}{|}.Return|
|000009f0| 20 74 68 65 20 71 75 65 | 75 65 20 73 69 7a 65 3b | the que|ue size;|
|00000a00| 20 65 71 75 69 76 61 6c | 65 6e 74 20 74 6f 20 74 | equival|ent to t|
|00000a10| 68 65 20 43 20 66 75 6e | 63 74 69 6f 6e 20 41 4c |he C fun|ction AL|
|00000a20| 67 65 74 71 75 65 75 65 | 73 69 7a 65 28 29 2e 0d |getqueue|size()..|
|00000a30| 5c 65 6e 64 7b 66 75 6e | 63 64 65 73 63 7d 0d 0d |\end{fun|cdesc}..|
|00000a40| 5c 62 65 67 69 6e 7b 66 | 75 6e 63 64 65 73 63 7d |\begin{f|uncdesc}|
|00000a50| 7b 73 65 74 71 75 65 75 | 65 73 69 7a 65 7d 7b 73 |{setqueu|esize}{s|
|00000a60| 69 7a 65 7d 0d 53 65 74 | 20 74 68 65 20 71 75 65 |ize}.Set| the que|
|00000a70| 75 65 20 73 69 7a 65 3b | 20 65 71 75 69 76 61 6c |ue size;| equival|
|00000a80| 65 6e 74 20 74 6f 20 74 | 68 65 20 43 20 66 75 6e |ent to t|he C fun|
|00000a90| 63 74 69 6f 6e 20 41 4c | 73 65 74 71 75 65 75 65 |ction AL|setqueue|
|00000aa0| 73 69 7a 65 28 29 2e 0d | 5c 65 6e 64 7b 66 75 6e |size()..|\end{fun|
|00000ab0| 63 64 65 73 63 7d 0d 0d | 5c 62 65 67 69 6e 7b 66 |cdesc}..|\begin{f|
|00000ac0| 75 6e 63 64 65 73 63 7d | 7b 67 65 74 77 69 64 74 |uncdesc}|{getwidt|
|00000ad0| 68 7d 7b 7d 0d 47 65 74 | 20 74 68 65 20 73 61 6d |h}{}.Get| the sam|
|00000ae0| 70 6c 65 20 77 69 64 74 | 68 3b 20 65 71 75 69 76 |ple widt|h; equiv|
|00000af0| 61 6c 65 6e 74 20 74 6f | 20 74 68 65 20 43 20 66 |alent to| the C f|
|00000b00| 75 6e 63 74 69 6f 6e 20 | 41 4c 67 65 74 77 69 64 |unction |ALgetwid|
|00000b10| 74 68 28 29 2e 0d 5c 65 | 6e 64 7b 66 75 6e 63 64 |th()..\e|nd{funcd|
|00000b20| 65 73 63 7d 0d 0d 5c 62 | 65 67 69 6e 7b 66 75 6e |esc}..\b|egin{fun|
|00000b30| 63 64 65 73 63 7d 7b 67 | 65 74 77 69 64 74 68 7d |cdesc}{g|etwidth}|
|00000b40| 7b 77 69 64 74 68 7d 0d | 53 65 74 20 74 68 65 20 |{width}.|Set the |
|00000b50| 73 61 6d 70 6c 65 20 77 | 69 64 74 68 3b 20 65 71 |sample w|idth; eq|
|00000b60| 75 69 76 61 6c 65 6e 74 | 20 74 6f 20 74 68 65 20 |uivalent| to the |
|00000b70| 43 20 66 75 6e 63 74 69 | 6f 6e 20 41 4c 73 65 74 |C functi|on ALset|
|00000b80| 77 69 64 74 68 28 29 2e | 0d 5c 65 6e 64 7b 66 75 |width().|.\end{fu|
|00000b90| 6e 63 64 65 73 63 7d 0d | 0d 5c 62 65 67 69 6e 7b |ncdesc}.|.\begin{|
|00000ba0| 66 75 6e 63 64 65 73 63 | 7d 7b 67 65 74 63 68 61 |funcdesc|}{getcha|
|00000bb0| 6e 6e 65 6c 73 7d 7b 7d | 0d 47 65 74 20 74 68 65 |nnels}{}|.Get the|
|00000bc0| 20 63 68 61 6e 6e 65 6c | 20 63 6f 75 6e 74 3b 20 | channel| count; |
|00000bd0| 65 71 75 69 76 61 6c 65 | 6e 74 20 74 6f 20 74 68 |equivale|nt to th|
|00000be0| 65 20 43 20 66 75 6e 63 | 74 69 6f 6e 20 41 4c 67 |e C func|tion ALg|
|00000bf0| 65 74 63 68 61 6e 6e 65 | 6c 73 28 29 2e 0d 5c 65 |etchanne|ls()..\e|
|00000c00| 6e 64 7b 66 75 6e 63 64 | 65 73 63 7d 0d 0d 5c 62 |nd{funcd|esc}..\b|
|00000c10| 65 67 69 6e 7b 66 75 6e | 63 64 65 73 63 7d 7b 73 |egin{fun|cdesc}{s|
|00000c20| 65 74 63 68 61 6e 6e 65 | 6c 73 7d 7b 6e 63 68 61 |etchanne|ls}{ncha|
|00000c30| 6e 6e 65 6c 73 7d 0d 53 | 65 74 20 74 68 65 20 63 |nnels}.S|et the c|
|00000c40| 68 61 6e 6e 65 6c 20 63 | 6f 75 6e 74 3b 20 65 71 |hannel c|ount; eq|
|00000c50| 75 69 76 61 6c 65 6e 74 | 20 74 6f 20 74 68 65 20 |uivalent| to the |
|00000c60| 43 20 66 75 6e 63 74 69 | 6f 6e 20 41 4c 73 65 74 |C functi|on ALset|
|00000c70| 63 68 61 6e 6e 65 6c 73 | 28 29 2e 0d 5c 65 6e 64 |channels|()..\end|
|00000c80| 7b 66 75 6e 63 64 65 73 | 63 7d 0d 0d 5c 62 65 67 |{funcdes|c}..\beg|
|00000c90| 69 6e 7b 66 75 6e 63 64 | 65 73 63 7d 7b 67 65 74 |in{funcd|esc}{get|
|00000ca0| 73 61 6d 70 66 6d 74 7d | 7b 7d 0d 47 65 74 20 74 |sampfmt}|{}.Get t|
|00000cb0| 68 65 20 73 61 6d 70 6c | 65 20 66 6f 72 6d 61 74 |he sampl|e format|
|00000cc0| 3b 20 65 71 75 69 76 61 | 6c 65 6e 74 20 74 6f 20 |; equiva|lent to |
|00000cd0| 74 68 65 20 43 20 66 75 | 6e 63 74 69 6f 6e 20 41 |the C fu|nction A|
|00000ce0| 4c 67 65 74 73 61 6d 70 | 66 6d 74 28 29 2e 0d 5c |Lgetsamp|fmt()..\|
|00000cf0| 65 6e 64 7b 66 75 6e 63 | 64 65 73 63 7d 0d 0d 5c |end{func|desc}..\|
|00000d00| 62 65 67 69 6e 7b 66 75 | 6e 63 64 65 73 63 7d 7b |begin{fu|ncdesc}{|
|00000d10| 73 65 74 73 61 6d 70 66 | 6d 74 7d 7b 73 61 6d 70 |setsampf|mt}{samp|
|00000d20| 66 6d 74 7d 0d 53 65 74 | 20 74 68 65 20 73 61 6d |fmt}.Set| the sam|
|00000d30| 70 6c 65 20 66 6f 72 6d | 61 74 3b 20 65 71 75 69 |ple form|at; equi|
|00000d40| 76 61 6c 65 6e 74 20 74 | 6f 20 74 68 65 20 43 20 |valent t|o the C |
|00000d50| 66 75 6e 63 74 69 6f 6e | 20 41 4c 73 65 74 73 61 |function| ALsetsa|
|00000d60| 6d 70 66 6d 74 28 29 2e | 0d 5c 65 6e 64 7b 66 75 |mpfmt().|.\end{fu|
|00000d70| 6e 63 64 65 73 63 7d 0d | 0d 5c 62 65 67 69 6e 7b |ncdesc}.|.\begin{|
|00000d80| 66 75 6e 63 64 65 73 63 | 7d 7b 67 65 74 66 6c 6f |funcdesc|}{getflo|
|00000d90| 61 74 6d 61 78 7d 7b 7d | 0d 47 65 74 20 74 68 65 |atmax}{}|.Get the|
|00000da0| 20 6d 61 78 69 6d 75 6d | 20 76 61 6c 75 65 20 66 | maximum| value f|
|00000db0| 6f 72 20 66 6c 6f 61 74 | 69 6e 67 20 73 61 6d 70 |or float|ing samp|
|00000dc0| 6c 65 20 66 6f 72 6d 61 | 74 73 3b 0d 65 71 75 69 |le forma|ts;.equi|
|00000dd0| 76 61 6c 65 6e 74 20 74 | 6f 20 74 68 65 20 43 20 |valent t|o the C |
|00000de0| 66 75 6e 63 74 69 6f 6e | 20 41 4c 67 65 74 66 6c |function| ALgetfl|
|00000df0| 6f 61 74 6d 61 78 28 29 | 2e 0d 5c 65 6e 64 7b 66 |oatmax()|..\end{f|
|00000e00| 75 6e 63 64 65 73 63 7d | 0d 0d 5c 62 65 67 69 6e |uncdesc}|..\begin|
|00000e10| 7b 66 75 6e 63 64 65 73 | 63 7d 7b 73 65 74 66 6c |{funcdes|c}{setfl|
|00000e20| 6f 61 74 6d 61 78 7d 7b | 66 6c 6f 61 74 6d 61 78 |oatmax}{|floatmax|
|00000e30| 7d 0d 53 65 74 20 74 68 | 65 20 6d 61 78 69 6d 75 |}.Set th|e maximu|
|00000e40| 6d 20 76 61 6c 75 65 20 | 66 6f 72 20 66 6c 6f 61 |m value |for floa|
|00000e50| 74 69 6e 67 20 73 61 6d | 70 6c 65 20 66 6f 72 6d |ting sam|ple form|
|00000e60| 61 74 73 3b 0d 65 71 75 | 69 76 61 6c 65 6e 74 20 |ats;.equ|ivalent |
|00000e70| 74 6f 20 74 68 65 20 43 | 20 66 75 6e 63 74 69 6f |to the C| functio|
|00000e80| 6e 20 41 4c 73 65 74 66 | 6c 6f 61 74 6d 61 78 28 |n ALsetf|loatmax(|
|00000e90| 29 2e 0d 5c 65 6e 64 7b | 66 75 6e 63 64 65 73 63 |)..\end{|funcdesc|
|00000ea0| 7d 0d 0d 50 6f 72 74 20 | 6f 62 6a 65 63 74 73 20 |}..Port |objects |
|00000eb0| 28 72 65 74 75 72 6e 65 | 64 20 62 79 20 5c 63 6f |(returne|d by \co|
|00000ec0| 64 65 7b 61 6c 2e 6f 70 | 65 6e 70 6f 72 74 28 29 |de{al.op|enport()|
|00000ed0| 7d 20 68 61 76 65 20 74 | 68 65 20 66 6f 6c 6c 6f |} have t|he follo|
|00000ee0| 77 69 6e 67 0d 6d 65 74 | 68 6f 64 73 3a 0d 0d 5c |wing.met|hods:..\|
|00000ef0| 72 65 6e 65 77 63 6f 6d | 6d 61 6e 64 7b 5c 69 6e |renewcom|mand{\in|
|00000f00| 64 65 78 73 75 62 69 74 | 65 6d 7d 7b 28 61 75 64 |dexsubit|em}{(aud|
|00000f10| 69 6f 20 70 6f 72 74 20 | 6f 62 6a 65 63 74 20 6d |io port |object m|
|00000f20| 65 74 68 6f 64 29 7d 0d | 5c 62 65 67 69 6e 7b 66 |ethod)}.|\begin{f|
|00000f30| 75 6e 63 64 65 73 63 7d | 7b 63 6c 6f 73 65 70 6f |uncdesc}|{closepo|
|00000f40| 72 74 7d 7b 7d 0d 43 6c | 6f 73 65 20 74 68 65 20 |rt}{}.Cl|ose the |
|00000f50| 70 6f 72 74 3b 20 65 71 | 75 69 76 61 6c 65 6e 74 |port; eq|uivalent|
|00000f60| 20 74 6f 20 74 68 65 20 | 43 20 66 75 6e 63 74 69 | to the |C functi|
|00000f70| 6f 6e 20 41 4c 63 6c 6f | 73 65 70 6f 72 74 28 29 |on ALclo|seport()|
|00000f80| 2e 0d 5c 65 6e 64 7b 66 | 75 6e 63 64 65 73 63 7d |..\end{f|uncdesc}|
|00000f90| 0d 0d 5c 62 65 67 69 6e | 7b 66 75 6e 63 64 65 73 |..\begin|{funcdes|
|00000fa0| 63 7d 7b 67 65 74 66 64 | 7d 7b 7d 0d 52 65 74 75 |c}{getfd|}{}.Retu|
|00000fb0| 72 6e 20 74 68 65 20 66 | 69 6c 65 20 64 65 73 63 |rn the f|ile desc|
|00000fc0| 72 69 70 74 6f 72 20 61 | 73 20 61 6e 20 69 6e 74 |riptor a|s an int|
|00000fd0| 3b 20 65 71 75 69 76 61 | 6c 65 6e 74 20 74 6f 20 |; equiva|lent to |
|00000fe0| 74 68 65 20 43 20 66 75 | 6e 63 74 69 6f 6e 0d 41 |the C fu|nction.A|
|00000ff0| 4c 67 65 74 66 64 28 29 | 2e 0d 5c 65 6e 64 7b 66 |Lgetfd()|..\end{f|
|00001000| 75 6e 63 64 65 73 63 7d | 0d 0d 5c 62 65 67 69 6e |uncdesc}|..\begin|
|00001010| 7b 66 75 6e 63 64 65 73 | 63 7d 7b 67 65 74 66 69 |{funcdes|c}{getfi|
|00001020| 6c 6c 65 64 7d 7b 7d 0d | 52 65 74 75 72 6e 20 74 |lled}{}.|Return t|
|00001030| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 66 69 6c |he numbe|r of fil|
|00001040| 6c 65 64 20 73 61 6d 70 | 6c 65 73 3b 20 65 71 75 |led samp|les; equ|
|00001050| 69 76 61 6c 65 6e 74 20 | 74 6f 20 74 68 65 20 43 |ivalent |to the C|
|00001060| 20 66 75 6e 63 74 69 6f | 6e 0d 41 4c 67 65 74 66 | functio|n.ALgetf|
|00001070| 69 6c 6c 65 64 28 29 2e | 0d 5c 65 6e 64 7b 66 75 |illed().|.\end{fu|
|00001080| 6e 63 64 65 73 63 7d 0d | 0d 5c 62 65 67 69 6e 7b |ncdesc}.|.\begin{|
|00001090| 66 75 6e 63 64 65 73 63 | 7d 7b 67 65 74 66 69 6c |funcdesc|}{getfil|
|000010a0| 6c 61 62 6c 65 7d 7b 7d | 0d 52 65 74 75 72 6e 20 |lable}{}|.Return |
|000010b0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 66 69 |the numb|er of fi|
|000010c0| 6c 6c 61 62 6c 65 20 73 | 61 6d 70 6c 65 73 3b 20 |llable s|amples; |
|000010d0| 65 71 75 69 76 61 6c 65 | 6e 74 20 74 6f 20 74 68 |equivale|nt to th|
|000010e0| 65 20 43 20 66 75 6e 63 | 74 69 6f 6e 0d 41 4c 67 |e C func|tion.ALg|
|000010f0| 65 74 66 69 6c 6c 61 62 | 6c 65 28 29 2e 0d 5c 65 |etfillab|le()..\e|
|00001100| 6e 64 7b 66 75 6e 63 64 | 65 73 63 7d 0d 0d 5c 62 |nd{funcd|esc}..\b|
|00001110| 65 67 69 6e 7b 66 75 6e | 63 64 65 73 63 7d 7b 72 |egin{fun|cdesc}{r|
|00001120| 65 61 64 73 61 6d 70 73 | 7d 7b 6e 73 61 6d 70 6c |eadsamps|}{nsampl|
|00001130| 65 73 7d 0d 52 65 61 64 | 20 61 20 6e 75 6d 62 65 |es}.Read| a numbe|
|00001140| 72 20 6f 66 20 73 61 6d | 70 6c 65 73 20 66 72 6f |r of sam|ples fro|
|00001150| 6d 20 74 68 65 20 71 75 | 65 75 65 2c 20 62 6c 6f |m the qu|eue, blo|
|00001160| 63 6b 69 6e 67 20 69 66 | 20 6e 65 63 65 73 73 61 |cking if| necessa|
|00001170| 72 79 3b 0d 65 71 75 69 | 76 61 6c 65 6e 74 20 74 |ry;.equi|valent t|
|00001180| 6f 20 74 68 65 20 43 20 | 66 75 6e 63 74 69 6f 6e |o the C |function|
|00001190| 20 41 4c 72 65 61 64 73 | 61 6d 70 6c 65 73 2e 20 | ALreads|amples. |
|000011a0| 20 54 68 65 20 64 61 74 | 61 20 69 73 20 72 65 74 | The dat|a is ret|
|000011b0| 75 72 6e 65 64 20 61 73 | 20 61 0d 73 74 72 69 6e |urned as| a.strin|
|000011c0| 67 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 74 68 65 |g contai|ning the|
|000011d0| 20 72 61 77 20 64 61 74 | 61 20 28 65 2e 67 2e 20 | raw dat|a (e.g. |
|000011e0| 32 20 62 79 74 65 73 20 | 70 65 72 20 73 61 6d 70 |2 bytes |per samp|
|000011f0| 6c 65 20 69 6e 20 62 69 | 67 2d 65 6e 64 69 61 6e |le in bi|g-endian|
|00001200| 0d 62 79 74 65 20 6f 72 | 64 65 72 20 28 68 69 67 |.byte or|der (hig|
|00001210| 68 20 62 79 74 65 2c 20 | 6c 6f 77 20 62 79 74 65 |h byte, |low byte|
|00001220| 29 20 69 66 20 79 6f 75 | 20 68 61 76 65 20 73 65 |) if you| have se|
|00001230| 74 20 74 68 65 20 73 61 | 6d 70 6c 65 20 77 69 64 |t the sa|mple wid|
|00001240| 74 68 20 74 6f 20 32 0d | 62 79 74 65 73 2e 0d 5c |th to 2.|bytes..\|
|00001250| 65 6e 64 7b 66 75 6e 63 | 64 65 73 63 7d 0d 0d 5c |end{func|desc}..\|
|00001260| 62 65 67 69 6e 7b 66 75 | 6e 63 64 65 73 63 7d 7b |begin{fu|ncdesc}{|
|00001270| 77 72 69 74 65 73 61 6d | 70 73 7d 7b 73 61 6d 70 |writesam|ps}{samp|
|00001280| 6c 65 73 7d 0d 57 72 69 | 74 65 20 73 61 6d 70 6c |les}.Wri|te sampl|
|00001290| 65 73 20 69 6e 74 6f 20 | 74 68 65 20 71 75 65 75 |es into |the queu|
|000012a0| 65 2c 20 62 6c 6f 63 6b | 69 6e 67 20 69 66 20 6e |e, block|ing if n|
|000012b0| 65 63 65 73 73 61 72 79 | 3b 20 65 71 75 69 76 61 |ecessary|; equiva|
|000012c0| 6c 65 6e 74 20 74 6f 20 | 74 68 65 0d 43 20 66 75 |lent to |the.C fu|
|000012d0| 6e 63 74 69 6f 6e 20 41 | 4c 77 72 69 74 65 73 61 |nction A|Lwritesa|
|000012e0| 6d 70 6c 65 73 2e 20 20 | 54 68 65 20 73 61 6d 70 |mples. |The samp|
|000012f0| 6c 65 73 20 61 72 65 20 | 65 6e 63 6f 64 65 64 20 |les are |encoded |
|00001300| 61 73 20 64 65 73 63 72 | 69 62 65 64 20 66 6f 72 |as descr|ibed for|
|00001310| 0d 74 68 65 20 5c 63 6f | 64 65 7b 72 65 61 64 73 |.the \co|de{reads|
|00001320| 61 6d 70 73 7d 20 72 65 | 74 75 72 6e 20 76 61 6c |amps} re|turn val|
|00001330| 75 65 2e 0d 5c 65 6e 64 | 7b 66 75 6e 63 64 65 73 |ue..\end|{funcdes|
|00001340| 63 7d 0d 0d 5c 62 65 67 | 69 6e 7b 66 75 6e 63 64 |c}..\beg|in{funcd|
|00001350| 65 73 63 7d 7b 67 65 74 | 66 69 6c 6c 70 6f 69 6e |esc}{get|fillpoin|
|00001360| 74 7d 7b 7d 0d 52 65 74 | 75 72 6e 20 74 68 65 20 |t}{}.Ret|urn the |
|00001370| 60 66 69 6c 6c 20 70 6f | 69 6e 74 27 3b 20 65 71 |`fill po|int'; eq|
|00001380| 75 69 76 61 6c 65 6e 74 | 20 74 6f 20 74 68 65 20 |uivalent| to the |
|00001390| 43 20 66 75 6e 63 74 69 | 6f 6e 20 41 4c 67 65 74 |C functi|on ALget|
|000013a0| 66 69 6c 6c 70 6f 69 6e | 74 28 29 2e 0d 5c 65 6e |fillpoin|t()..\en|
|000013b0| 64 7b 66 75 6e 63 64 65 | 73 63 7d 0d 0d 5c 62 65 |d{funcde|sc}..\be|
|000013c0| 67 69 6e 7b 66 75 6e 63 | 64 65 73 63 7d 7b 73 65 |gin{func|desc}{se|
|000013d0| 74 66 69 6c 6c 70 6f 69 | 6e 74 7d 7b 66 69 6c 6c |tfillpoi|nt}{fill|
|000013e0| 70 6f 69 6e 74 7d 0d 53 | 65 74 20 74 68 65 20 60 |point}.S|et the `|
|000013f0| 66 69 6c 6c 20 70 6f 69 | 6e 74 27 3b 20 65 71 75 |fill poi|nt'; equ|
|00001400| 69 76 61 6c 65 6e 74 20 | 74 6f 20 74 68 65 20 43 |ivalent |to the C|
|00001410| 20 66 75 6e 63 74 69 6f | 6e 20 41 4c 73 65 74 66 | functio|n ALsetf|
|00001420| 69 6c 6c 70 6f 69 6e 74 | 28 29 2e 0d 5c 65 6e 64 |illpoint|()..\end|
|00001430| 7b 66 75 6e 63 64 65 73 | 63 7d 0d 0d 5c 62 65 67 |{funcdes|c}..\beg|
|00001440| 69 6e 7b 66 75 6e 63 64 | 65 73 63 7d 7b 67 65 74 |in{funcd|esc}{get|
|00001450| 63 6f 6e 66 69 67 7d 7b | 7d 0d 52 65 74 75 72 6e |config}{|}.Return|
|00001460| 20 61 20 63 6f 6e 66 69 | 67 75 72 61 74 69 6f 6e | a confi|guration|
|00001470| 20 6f 62 6a 65 63 74 20 | 63 6f 6e 74 61 69 6e 69 | object |containi|
|00001480| 6e 67 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 63 |ng the c|urrent c|
|00001490| 6f 6e 66 69 67 75 72 61 | 74 69 6f 6e 20 6f 66 0d |onfigura|tion of.|
|000014a0| 74 68 65 20 70 6f 72 74 | 3b 20 65 71 75 69 76 61 |the port|; equiva|
|000014b0| 6c 65 6e 74 20 74 6f 20 | 74 68 65 20 43 20 66 75 |lent to |the C fu|
|000014c0| 6e 63 74 69 6f 6e 20 41 | 4c 67 65 74 63 6f 6e 66 |nction A|Lgetconf|
|000014d0| 69 67 28 29 2e 0d 5c 65 | 6e 64 7b 66 75 6e 63 64 |ig()..\e|nd{funcd|
|000014e0| 65 73 63 7d 0d 0d 5c 62 | 65 67 69 6e 7b 66 75 6e |esc}..\b|egin{fun|
|000014f0| 63 64 65 73 63 7d 7b 73 | 65 74 63 6f 6e 66 69 67 |cdesc}{s|etconfig|
|00001500| 7d 7b 63 6f 6e 66 69 67 | 7d 0d 53 65 74 20 74 68 |}{config|}.Set th|
|00001510| 65 20 63 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 20 |e config|uration |
|00001520| 66 72 6f 6d 20 74 68 65 | 20 61 72 67 75 6d 65 6e |from the| argumen|
|00001530| 74 2c 20 61 20 63 6f 6e | 66 69 67 75 72 61 74 69 |t, a con|figurati|
|00001540| 6f 6e 20 6f 62 6a 65 63 | 74 3b 0d 65 71 75 69 76 |on objec|t;.equiv|
|00001550| 61 6c 65 6e 74 20 74 6f | 20 74 68 65 20 43 20 66 |alent to| the C f|
|00001560| 75 6e 63 74 69 6f 6e 20 | 41 4c 73 65 74 63 6f 6e |unction |ALsetcon|
|00001570| 66 69 67 28 29 2e 0d 5c | 65 6e 64 7b 66 75 6e 63 |fig()..\|end{func|
|00001580| 64 65 73 63 7d 0d 0d 5c | 62 65 67 69 6e 7b 66 75 |desc}..\|begin{fu|
|00001590| 6e 63 64 65 73 63 7d 7b | 67 65 74 73 74 61 74 75 |ncdesc}{|getstatu|
|000015a0| 73 7d 7b 6c 69 73 74 7d | 0d 47 65 74 20 73 74 61 |s}{list}|.Get sta|
|000015b0| 74 75 73 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |tus info|rmation |
|000015c0| 6f 6e 20 6c 61 73 74 20 | 65 72 72 6f 72 0d 65 71 |on last |error.eq|
|000015d0| 75 69 76 61 6c 65 6e 74 | 20 74 6f 20 43 20 66 75 |uivalent| to C fu|
|000015e0| 6e 63 74 69 6f 6e 20 41 | 4c 67 65 74 73 74 61 74 |nction A|Lgetstat|
|000015f0| 75 73 28 29 2e 0d 5c 65 | 6e 64 7b 66 75 6e 63 64 |us()..\e|nd{funcd|
|00001600| 65 73 63 7d 0d 0d 5c 73 | 65 63 74 69 6f 6e 7b 53 |esc}..\s|ection{S|
|00001610| 74 61 6e 64 61 72 64 20 | 4d 6f 64 75 6c 65 20 5c |tandard |Module \|
|00001620| 73 65 63 74 63 6f 64 65 | 7b 41 4c 7d 7d 0d 5c 6e |sectcode|{AL}}.\n|
|00001630| 6f 64 65 6e 61 6d 65 7b | 41 4c 20 28 75 70 70 65 |odename{|AL (uppe|
|00001640| 72 63 61 73 65 29 7d 0d | 5c 73 74 6d 6f 64 69 6e |rcase)}.|\stmodin|
|00001650| 64 65 78 7b 41 4c 7d 0d | 0d 54 68 69 73 20 6d 6f |dex{AL}.|.This mo|
|00001660| 64 75 6c 65 20 64 65 66 | 69 6e 65 73 20 73 79 6d |dule def|ines sym|
|00001670| 62 6f 6c 69 63 20 63 6f | 6e 73 74 61 6e 74 73 20 |bolic co|nstants |
|00001680| 6e 65 65 64 65 64 20 74 | 6f 20 75 73 65 20 74 68 |needed t|o use th|
|00001690| 65 20 62 75 69 6c 74 2d | 69 6e 0d 6d 6f 64 75 6c |e built-|in.modul|
|000016a0| 65 20 5c 63 6f 64 65 7b | 61 6c 7d 20 28 73 65 65 |e \code{|al} (see|
|000016b0| 20 61 62 6f 76 65 29 3b | 20 74 68 65 79 20 61 72 | above);| they ar|
|000016c0| 65 20 65 71 75 69 76 61 | 6c 65 6e 74 20 74 6f 20 |e equiva|lent to |
|000016d0| 74 68 6f 73 65 20 64 65 | 66 69 6e 65 64 20 69 6e |those de|fined in|
|000016e0| 0d 74 68 65 20 43 20 68 | 65 61 64 65 72 20 66 69 |.the C h|eader fi|
|000016f0| 6c 65 20 5c 66 69 6c 65 | 7b 3c 61 75 64 69 6f 2e |le \file|{<audio.|
|00001700| 68 3e 7d 20 65 78 63 65 | 70 74 20 74 68 61 74 20 |h>} exce|pt that |
|00001710| 74 68 65 20 6e 61 6d 65 | 20 70 72 65 66 69 78 0d |the name| prefix.|
|00001720| 5c 73 61 6d 70 7b 41 4c | 5f 7d 20 69 73 20 6f 6d |\samp{AL|_} is om|
|00001730| 69 74 74 65 64 2e 20 20 | 52 65 61 64 20 74 68 65 |itted. |Read the|
|00001740| 20 6d 6f 64 75 6c 65 20 | 73 6f 75 72 63 65 20 66 | module |source f|
|00001750| 6f 72 20 61 20 63 6f 6d | 70 6c 65 74 65 20 6c 69 |or a com|plete li|
|00001760| 73 74 20 6f 66 0d 74 68 | 65 20 64 65 66 69 6e 65 |st of.th|e define|
|00001770| 64 20 6e 61 6d 65 73 2e | 20 20 53 75 67 67 65 73 |d names.| Sugges|
|00001780| 74 65 64 20 75 73 65 3a | 0d 0d 5c 62 63 6f 64 65 |ted use:|..\bcode|
|00001790| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|000017a0| 0d 69 6d 70 6f 72 74 20 | 61 6c 0d 66 72 6f 6d 20 |.import |al.from |
|000017b0| 41 4c 20 69 6d 70 6f 72 | 74 20 2a 0d 5c 65 6e 64 |AL impor|t *.\end|
|000017c0| 7b 76 65 72 62 61 74 69 | 6d 7d 5c 65 63 6f 64 65 |{verbati|m}\ecode|
|000017d0| 0d | |. | |
+--------+-------------------------+-------------------------+--------+--------+